package com.situ.blog.dao;

import com.situ.blog.pojo.entity.Blog;
import com.situ.blog.pojo.query.BlogQuery;


import java.util.List;

public interface IBlogDao {
    
    List<Blog> selectByPage(BlogQuery blogQuery);
    
    int selectTotalCount(BlogQuery blogQuery);

    void deleteById(int id);

    void add(Blog blog);

    Blog selectById(int id);

    void update(Blog blog);

}
